//
//  PriorityCell.h
//  WOPrototype
//
//  Created by Olof Millberg on 2010-04-23.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol WOPriorityPickerDelegate
- (void) priorityChanged:(NSString *)priority;
@end

@interface PriorityCell : UITableViewCell <UIActionSheetDelegate>
{
	UIButton *priorityButton;
	NSMutableArray *priorities;
	NSString *priority;
	id<WOPriorityPickerDelegate> delegate;
}
@property (nonatomic, retain) IBOutlet UIButton *priorityButton;
@property (nonatomic, retain) NSMutableArray *priorities;
@property (nonatomic, retain) NSString *priority;
@property (nonatomic, assign) id<WOPriorityPickerDelegate> delegate;

- (IBAction) showPriorityPicker;

@end